FROM java:8
MAINTAINER "qik"<1755979775@qq.com>
ADD admin-pc-0.0.1-SNAPSHOT.jar admin-pc.jar
ENV JAVA_OPTS="\
 -XX:SurvivorRatio=8 \
 -XX:+UseConcMarkSweepGC \
 "
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /admin-pc.jar" ]